﻿using System.Web;
using System.Web.Optimization;

namespace website
{
    public class BundleConfig
    {
        // 有关 Bundling 的详细信息，请访问 http://go.microsoft.com/fwlink/?LinkId=254725
        public static void RegisterBundles(BundleCollection bundles)
        {
            bundles.Add(new ScriptBundle("~/js/jquery").Include(
                        "~/js/jquery-{version}.js",
                        "~/js/jsPublic.js",
                         "~/js/jquery.animate-colors-min.js"
                        ));

            bundles.Add(new ScriptBundle("~/js/jqueryui").Include(
                        "~/js/jquery-ui-{version}.js"));

            bundles.Add(new ScriptBundle("~/js/jqueryval").Include(
                        "~/js/jquery.unobtrusive*",
                        "~/js/jquery.validate*"));

            bundles.Add(new ScriptBundle("~/js/bootstraps").Include(
                        "~/js/bootstrap/js/bootstrap*",
                        "~/js/bootstrap/js/bootswatch.js"));

            bundles.Add(new ScriptBundle("~/js/dragsort").Include(
                        "~/js/jquery.dragsort/jquery.dragsort*"));

            bundles.Add(new ScriptBundle("~/js/writeArticleScript").Include(
                        "~/js/writeArticleScript.js"));

            bundles.Add(new ScriptBundle("~/js/collectionWord").Include(
                        "~/js/collectionWord-lygl.js"));

            bundles.Add(new ScriptBundle("~/js/jqwaterfall").Include(
                        "~/js/waterfall/jquery.waterfall.js"));

            bundles.Add(new ScriptBundle("~/js/fineuploader").Include(
                        "~/js/Uploadfile/fineuploader-{version}.js"));

            bundles.Add(new ScriptBundle("~/js/jqprettyPhoto").Include(
                        "~/js/prettyPhoto/jquery.prettyPhoto-{version}.js"));

            bundles.Add(new ScriptBundle("~/js/jqgallery").Include(
                        "~/js/jquery.gallery/jquery.ad-gallery.js"));

            bundles.Add(new ScriptBundle("~/js/textSearch").Include(
                       "~/js/jquery.textSearch.js"));


            // 使用 Modernizr 的开发版本进行开发和了解信息。然后，当你做好
            // 生产准备时，请使用 http://modernizr.com 上的生成工具来仅选择所需的测试。
            bundles.Add(new ScriptBundle("~/js/modernizr").Include(
                        "~/js/modernizr-*"));

            bundles.Add(new StyleBundle("~/js/bootstrap/css/css").Include(
                "~/js/bootstrap/css/bootstrap.css",
                "~/js/bootstrap/css/bootstrap-responsive.css",
                "~/js/bootstrap/css/bootswatch.css"
                ));

            bundles.Add(new StyleBundle("~/js/waterfall/css").Include("~/js/waterfall/site.css"));

            bundles.Add(new StyleBundle("~/js/Uploadfile/css").Include("~/js/Uploadfile/fineuploader.css"));

            bundles.Add(new StyleBundle("~/js/prettyPhoto/css").Include("~/js/prettyPhoto/prettyPhoto.css"));

            bundles.Add(new StyleBundle("~/js/jquery.gallery/css").Include("~/js/jquery.gallery/jquery.ad-gallery.css"));

            bundles.Add(new StyleBundle("~/css/css").Include("~/css/site.css"));

            bundles.Add(new StyleBundle("~/css/themes/base/css").Include(
                        "~/css/themes/base/jquery.ui.core.css",
                        "~/css/themes/base/jquery.ui.resizable.css",
                        "~/css/themes/base/jquery.ui.selectable.css",
                        "~/css/themes/base/jquery.ui.accordion.css",
                        "~/css/themes/base/jquery.ui.autocomplete.css",
                        "~/css/themes/base/jquery.ui.button.css",
                        "~/css/themes/base/jquery.ui.dialog.css",
                        "~/css/themes/base/jquery.ui.slider.css",
                        "~/css/themes/base/jquery.ui.tabs.css",
                        "~/css/themes/base/jquery.ui.datepicker.css",
                        "~/css/themes/base/jquery.ui.progressbar.css",
                        "~/css/themes/base/jquery.ui.theme.css"));
        }
    }
}